import Router from 'vue-router';
import Vue from 'vue';
Vue.use(Router);
const modules = require.context('@router/modules', true, /index\.js$/);
const keys = modules.keys();
var forExport = [];
keys.forEach((item) => {
  forExport.push(...modules(item));
});
export default new Router({
  routes: [...forExport]
});
